package com.ruoyi.project.baozhi.baozhi.mapper;

import java.util.List;
import com.ruoyi.project.baozhi.baozhi.domain.Baozhi;

/**
 * 报纸Mapper接口
 * 
 * @author ruoyi
 * @date 2021-12-06
 */
public interface BaozhiMapper 
{
    /**
     * 查询报纸
     * 
     * @param id 报纸主键
     * @return 报纸
     */
    public Baozhi selectBaozhiById(String id);

    /**
     * 查询报纸列表
     * 
     * @param baozhi 报纸
     * @return 报纸集合
     */
    public List<Baozhi> selectBaozhiList(Baozhi baozhi);
    public List<Baozhi> selectBaozhiList1(Baozhi baozhi);

    /**
     * 新增报纸
     * 
     * @param baozhi 报纸
     * @return 结果
     */
    public int insertBaozhi(Baozhi baozhi);

    /**
     * 修改报纸
     * 
     * @param baozhi 报纸
     * @return 结果
     */
    public int updateBaozhi(Baozhi baozhi);
    public int baozhishuliang(Baozhi baozhi);

    /**
     * 删除报纸
     * 
     * @param id 报纸主键
     * @return 结果
     */
    public int deleteBaozhiById(String id);

    /**
     * 批量删除报纸
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteBaozhiByIds(String[] ids);
}
